﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ODP.Model
{
    public class ReturnMessage
    {
        private IDictionary<string, object> m_ReturnData = new Dictionary<string, object>();
        private Exception m_e = new Exception();

        public string Text
        {
            set;
            get;
        }

        public bool IsSuccessed
        {
            set;
            get;
        }

        public Exception Exception
        {
            set { m_e = value; }
            get { return m_e; }
        }

        public IDictionary<string, object> ReturnData
        {
            get
            {
                return m_ReturnData;
            }
            set
            {
                m_ReturnData = value;
            }
        }
    }
}